<SCRIPT LANGUAGE="JavaScript" TYPE="text/JavaScript">

function display(active)
{
if(active.style.display=='block')
    {
     active.style.display='none';
    }
else
    {
    
    active.style.display='block';
    
    }

if(linksdropdown.style.display=='none')
{
 linksdropdown.style.display='block'
}
else
    {
linksdropdown.style.display='block'
    }
}
function clearmenu()
{
helpdeskmenu.style.display='none';
inventorymenu.style.display='none';
systemmenu.style.display='none';
othermenu.style.display='none';
linksmenu.style.display='none';
}
function linksSelect(active)
{

<?php
require_once "Common/database.php";

$result2 = mysql_query("SELECT * FROM tblFolders Order By `key`");
while($row2 = mysql_fetch_array($result2))
{
echo $row2[Folder].'.style.display=\'none\'; ';


}
?>

active.style.display='block';
linksdropdown.style.display='none'

}

</SCRIPT>
<div style="position:absolute; left:0px; top:0%;">
<table>
     
    <tr>
        <td class="topmenu" style="position:absolute; left:0px; top:0px;"><img src="img/menutd.png"></td>
        <td class="topmenu" style="position:absolute; left:122px ; top:0%;"><img src="img/menutd.png"></td>
        <td class="topmenu" style="position:absolute; left:243px; top:0%;"><img src="img/menutd.png"</td>
        <td class="topmenu" style="position:absolute; left:365px; top:0%;"><img src="img/menutd.png"</td>
        <td class="topmenu" style="position:absolute; left:488px; top:0%;"><img src="img/menutd.png"</td>
        
    </tr>

</table>
</div>



    
        <div class="topmenu" onclick=" display(linksmenu);" style="position:absolute; left:30px; top:5px;">Links</div>
        <div class="topmenu"  onclick="display(helpdeskmenu);" style="position:absolute; left:150px; top:5px;">Helpdesk</div>
        <div class="topmenu" onclick="display(inventorymenu)" style="position:absolute; left:270px; top:5px;">Inventory</div>
        <div class="topmenu" onclick="display(systemmenu)" style="position:absolute; left:400px; top:5px;">System</div>
        <div class="topmenu" onclick="display(othermenu)" style="position:absolute; left:530px; top:5px;">Other</div>

    

    

        
    

   